﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentValidation;

namespace Peak.Web.Controllers.Models
{
  public class SearchModelValidator : AbstractValidator<SearchModel>
  {
    public SearchModelValidator()
    {
      RuleFor(f => f.QuickFilter).NotNull().NotEmpty();      
    }
  }
}
